package com.pro.pojo;

import lombok.*;

import java.util.Objects;

/**
 * @ClassName OrderQuantity
 * @Author 谭金诚
 * @Date 2021/1/7
 */
public class OrderQuantity {

    private Integer commodityNoNums = 0;//待审核商品
    private Integer courseNoNums = 0;//待审核课程
    private Integer microCircleNoNums = 0;//待审核微圈
    private Integer returnRequest = 0;//退订数量

    private Integer commodityNums = 0;//上架商品总数
    private Integer commoditySaleNums = 0;//商品销量总数
    private Integer commodityCollectionNums = 0;//商品收藏总数

    private Integer courseNums = 0;//上架课程总数
    private Integer courseBrowseNums = 0;//视频浏览数
    private Integer courseCollectionNums = 0;//视频收藏量
    private Integer courseLikeNums = 0;//视频点赞量


    private Integer microCircleNums = 0;//发布微圈总数
    private Integer microCircleActicleLike = 0;//微圈点赞数量

    private Integer completedOrder = 0;//已完成订单总数
    private Integer orderQuantityNums = 0;//订单总数

    private Integer beforeUserAllNums = 0;//前端用户总数
    private Integer afterUserNums = 0;//后台用户总数
    private Integer jinSiUserNums = 0;//进思用户总数
    private Integer noJinSiUserNums = 0;//进思用户总数

    private Integer applyRecordNoHandle = 0;//创作者认证待处理数量11

    public OrderQuantity() {
    }

    public OrderQuantity(Integer commodityNoNums, Integer courseNoNums, Integer microCircleNoNums, Integer returnRequest, Integer commodityNums, Integer commoditySaleNums, Integer commodityCollectionNums, Integer courseNums, Integer courseBrowseNums, Integer courseCollectionNums, Integer courseLikeNums, Integer microCircleNums, Integer microCircleActicleLike, Integer completedOrder, Integer orderQuantityNums, Integer beforeUserAllNums, Integer afterUserNums, Integer jinSiUserNums, Integer noJinSiUserNums, Integer applyRecordNoHandle) {
        this.commodityNoNums = commodityNoNums;
        this.courseNoNums = courseNoNums;
        this.microCircleNoNums = microCircleNoNums;
        this.returnRequest = returnRequest;
        this.commodityNums = commodityNums;
        this.commoditySaleNums = commoditySaleNums;
        this.commodityCollectionNums = commodityCollectionNums;
        this.courseNums = courseNums;
        this.courseBrowseNums = courseBrowseNums;
        this.courseCollectionNums = courseCollectionNums;
        this.courseLikeNums = courseLikeNums;
        this.microCircleNums = microCircleNums;
        this.microCircleActicleLike = microCircleActicleLike;
        this.completedOrder = completedOrder;
        this.orderQuantityNums = orderQuantityNums;
        this.beforeUserAllNums = beforeUserAllNums;
        this.afterUserNums = afterUserNums;
        this.jinSiUserNums = jinSiUserNums;
        this.noJinSiUserNums = noJinSiUserNums;
        this.applyRecordNoHandle = applyRecordNoHandle;
    }

    public Integer getCommodityNoNums() {
        return commodityNoNums;
    }

    public void setCommodityNoNums(Integer commodityNoNums) {
        if (commodityNoNums == null){
            commodityNoNums = 0;
        }
        this.commodityNoNums = commodityNoNums;
    }

    public Integer getCourseNoNums() {
        return courseNoNums;
    }

    public void setCourseNoNums(Integer courseNoNums) {
        if (courseNoNums == null){
            courseNoNums = 0;
        }
        this.courseNoNums = courseNoNums;
    }

    public Integer getMicroCircleNoNums() {
        return microCircleNoNums;
    }

    public void setMicroCircleNoNums(Integer microCircleNoNums) {
        if (microCircleNoNums == null){
            microCircleNoNums = 0;
        }
        this.microCircleNoNums = microCircleNoNums;
    }

    public Integer getReturnRequest() {
        return returnRequest;
    }

    public void setReturnRequest(Integer returnRequest) {
        if (returnRequest == null){
            returnRequest = 0;
        }
        this.returnRequest = returnRequest;
    }

    public Integer getCommodityNums() {
        return commodityNums;
    }

    public void setCommodityNums(Integer commodityNums) {
        if (commodityNums == null){
            commodityNums = 0;
        }
        this.commodityNums = commodityNums;
    }

    public Integer getCommoditySaleNums() {
        return commoditySaleNums;
    }

    public void setCommoditySaleNums(Integer commoditySaleNums) {
        if (commoditySaleNums == null){
            commoditySaleNums = 0;
        }
        this.commoditySaleNums = commoditySaleNums;
    }

    public Integer getCommodityCollectionNums() {
        return commodityCollectionNums;
    }

    public void setCommodityCollectionNums(Integer commodityCollectionNums) {
        if (commodityCollectionNums == null){
            commodityCollectionNums = 0;
        }
        this.commodityCollectionNums = commodityCollectionNums;
    }

    public Integer getCourseNums() {
        return courseNums;
    }

    public void setCourseNums(Integer courseNums) {
        if (courseNums == null){
            courseNums = 0;
        }
        this.courseNums = courseNums;
    }

    public Integer getCourseBrowseNums() {
        return courseBrowseNums;
    }

    public void setCourseBrowseNums(Integer courseBrowseNums) {
        if (courseBrowseNums == null){
            courseBrowseNums = 0;
        }
        this.courseBrowseNums = courseBrowseNums;
    }

    public Integer getCourseCollectionNums() {
        return courseCollectionNums;
    }

    public void setCourseCollectionNums(Integer courseCollectionNums) {
        if (courseCollectionNums == null){
            courseCollectionNums = 0;
        }
        this.courseCollectionNums = courseCollectionNums;
    }

    public Integer getCourseLikeNums() {
        return courseLikeNums;
    }

    public void setCourseLikeNums(Integer courseLikeNums) {
        if (courseLikeNums == null){
            courseLikeNums = 0;
        }
        this.courseLikeNums = courseLikeNums;
    }

    public Integer getMicroCircleNums() {
        return microCircleNums;
    }

    public void setMicroCircleNums(Integer microCircleNums) {
        if (microCircleNums == null){
            microCircleNums = 0;
        }
        this.microCircleNums = microCircleNums;
    }

    public Integer getMicroCircleActicleLike() {
        return microCircleActicleLike;
    }

    public void setMicroCircleActicleLike(Integer microCircleActicleLike) {
        if (microCircleActicleLike == null){
            microCircleActicleLike = 0;
        }
        this.microCircleActicleLike = microCircleActicleLike;
    }

    public Integer getCompletedOrder() {
        return completedOrder;
    }

    public void setCompletedOrder(Integer completedOrder) {
        if (completedOrder == null){
            completedOrder = 0;
        }
        this.completedOrder = completedOrder;
    }

    public Integer getOrderQuantityNums() {
        return orderQuantityNums;
    }

    public void setOrderQuantityNums(Integer orderQuantityNums) {
        if (orderQuantityNums == null){
            orderQuantityNums = 0;
        }
        this.orderQuantityNums = orderQuantityNums;
    }

    public Integer getBeforeUserAllNums() {
        return beforeUserAllNums;
    }

    public void setBeforeUserAllNums(Integer beforeUserAllNums) {
        if (beforeUserAllNums == null){
            beforeUserAllNums = 0;
        }
        this.beforeUserAllNums = beforeUserAllNums;
    }

    public Integer getAfterUserNums() {
        return afterUserNums;
    }

    public void setAfterUserNums(Integer afterUserNums) {
        if (afterUserNums == null){
            afterUserNums = 0;
        }
        this.afterUserNums = afterUserNums;
    }

    public Integer getJinSiUserNums() {
        return jinSiUserNums;
    }

    public void setJinSiUserNums(Integer jinSiUserNums) {
        if (jinSiUserNums == null){
            jinSiUserNums = 0;
        }
        this.jinSiUserNums = jinSiUserNums;
    }

    public Integer getNoJinSiUserNums() {
        return noJinSiUserNums;
    }

    public void setNoJinSiUserNums(Integer noJinSiUserNums) {
        if (noJinSiUserNums == null){
            noJinSiUserNums = 0;
        }
        this.noJinSiUserNums = noJinSiUserNums;
    }

    public Integer getApplyRecordNoHandle() {
        return applyRecordNoHandle;
    }

    public void setApplyRecordNoHandle(Integer applyRecordNoHandle) {
        if (applyRecordNoHandle == null){
            applyRecordNoHandle = 0;
        }
        this.applyRecordNoHandle = applyRecordNoHandle;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        OrderQuantity that = (OrderQuantity) o;
        return Objects.equals(commodityNoNums, that.commodityNoNums) &&
                Objects.equals(courseNoNums, that.courseNoNums) &&
                Objects.equals(microCircleNoNums, that.microCircleNoNums) &&
                Objects.equals(returnRequest, that.returnRequest) &&
                Objects.equals(commodityNums, that.commodityNums) &&
                Objects.equals(commoditySaleNums, that.commoditySaleNums) &&
                Objects.equals(commodityCollectionNums, that.commodityCollectionNums) &&
                Objects.equals(courseNums, that.courseNums) &&
                Objects.equals(courseBrowseNums, that.courseBrowseNums) &&
                Objects.equals(courseCollectionNums, that.courseCollectionNums) &&
                Objects.equals(courseLikeNums, that.courseLikeNums) &&
                Objects.equals(microCircleNums, that.microCircleNums) &&
                Objects.equals(microCircleActicleLike, that.microCircleActicleLike) &&
                Objects.equals(completedOrder, that.completedOrder) &&
                Objects.equals(orderQuantityNums, that.orderQuantityNums) &&
                Objects.equals(beforeUserAllNums, that.beforeUserAllNums) &&
                Objects.equals(afterUserNums, that.afterUserNums) &&
                Objects.equals(jinSiUserNums, that.jinSiUserNums) &&
                Objects.equals(noJinSiUserNums, that.noJinSiUserNums) &&
                Objects.equals(applyRecordNoHandle, that.applyRecordNoHandle);
    }

    @Override
    public int hashCode() {
        return Objects.hash(commodityNoNums, courseNoNums, microCircleNoNums, returnRequest, commodityNums, commoditySaleNums, commodityCollectionNums, courseNums, courseBrowseNums, courseCollectionNums, courseLikeNums, microCircleNums, microCircleActicleLike, completedOrder, orderQuantityNums, beforeUserAllNums, afterUserNums, jinSiUserNums, noJinSiUserNums, applyRecordNoHandle);
    }

    @Override
    public String toString() {
        return "OrderQuantity{" +
                "commodityNoNums=" + commodityNoNums +
                ", courseNoNums=" + courseNoNums +
                ", microCircleNoNums=" + microCircleNoNums +
                ", returnRequest=" + returnRequest +
                ", commodityNums=" + commodityNums +
                ", commoditySaleNums=" + commoditySaleNums +
                ", commodityCollectionNums=" + commodityCollectionNums +
                ", courseNums=" + courseNums +
                ", courseBrowseNums=" + courseBrowseNums +
                ", courseCollectionNums=" + courseCollectionNums +
                ", courseLikeNums=" + courseLikeNums +
                ", microCircleNums=" + microCircleNums +
                ", microCircleActicleLike=" + microCircleActicleLike +
                ", completedOrder=" + completedOrder +
                ", orderQuantityNums=" + orderQuantityNums +
                ", beforeUserAllNums=" + beforeUserAllNums +
                ", afterUserNums=" + afterUserNums +
                ", jinSiUserNums=" + jinSiUserNums +
                ", noJinSiUserNums=" + noJinSiUserNums +
                ", applyRecordNoHandle=" + applyRecordNoHandle +
                '}';
    }
}
